package be.beeworks.scrumblebee

class Sprint {

    String name
    Team team
    Backlog backlog
    Date dateCreated
    Date lastUpdate
    Date startDate
    Date endDate

    static belongsTo = Product

    static constraints = {
        name(blank: false, maxSize: 100)
        backlog(nullable: false)
        team(nullable: false)
        startDate(nullable: false)
        endDate(nullable: false)
    }
}
